<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>评价详情</title>
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link type="text/css" rel="stylesheet" media="screen" href="__FONT__/css/style.css"/>
    <link type="text/css" rel="stylesheet" media="screen" href="__FONT__/css/media.css"/>
    <script type="text/javascript" src="__FONT__/js/jquery-1.9.1.min.js"></script>
</head>
<body style="background:#efefef;">
	<include file="Public/customHeader" title="评价详情" url="javascript: history.go(-1);"/>
 	<section class="pic_detail">
       <div class="pic_detail_head">
          <if condition="!$comment['user_info']['headerimg']">
           <img src="__PUBLIC__/app/images/mrydetail_05.png">
           <else />
           <img src="{$comment['user_info']['headerimg']}">
          </if>
          <span>{$comment.user_info.mobile|hidden_phone_word=###}</span>
          <label>{$comment.createtime|date="Y-m-d H:i:s",###}</label>
       </div>
       <div class="pic_detail_main">
          <h1><for start="0" end="$comment['avg_score']"><i></i></for></h1>
          <p>{$comment.content}</p>
       </div>
       <if condition="$comment['photos']">
       <div class="pic_detail_pic">
           <ul>
           	<foreach name="comment.photos" item="photo">
              <li><img src="__UPLOADS__/Comment/{$photo.upload_number}/{$photo.img_name}"></li>
              </foreach>
           </ul>
       </div>
       </if>
       <if condition="$comment['reply']">
       <div class="pci_detail_reply">
         <h1>回复</h1>
       </div>
		
		<div class="mrs_addpj addpj_reply">
			<div class="mrs_pjmain">
	        	<if condition="$comment['reply']['beautician']['profile_img']">
	           	<img src="__UPLOADS__/Profile/{$comment['reply']['beautician']['profile_img']}">
	           	<else />
	           	<img src="__PUBLIC__/app/images/defaultProfile.png">
	           	</if>
              	<span>{$comment.reply.beautician.name}</span>
          	</div>
     		<p><span>回复：</span>{$comment.reply.content}</p>
          	<if condition="$comment['reply']['photos']">
          	<div class="pic_pin">
	          	<a href="{:U('/Comments/commentDetail/id/'.$comment['reply']['id'])}">
		            <ul>
		            	<foreach name="comment.reply.photos" item="photo">
		                <li><img src="__UPLOADS__/Comment/{$photo.upload_number}/{$photo.img_name}"></li>
		                </foreach>
		            </ul>
	          	</a>
          	</div>
          	</if>
            <dd>{$comment.reply.createtime|date="Y-m-d H:i:s",###}</dd>
	      </div>
      </if>
	</section>
</body>
</html>